const {BrowserWindow} = require('electron');

let win = new BrowserWindow({width: 800, height: 1500});
win.loadURL('http://github.com');

let contents = win.webContents;

contents.insertCSS("something()");